require('ts-node/register')

const configFactory = require('./src/config/config.default.ts').default
const { orm } = configFactory()

module.exports = {
  ...orm,
  entities: ['src/entity/*.ts'],
  migrations: ['migration/*.ts'],
  cli: {
    migrationsDir: 'migration'
  }
}
